package cn.endowment.exception;

/**
 * 自定义异常
 * @author Administrator
 *
 */
public class ServiceException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	private ErrorCode err;

	public ServiceException(ErrorCode i_err) {
		this.err = i_err;
	}

	public ErrorCode getErr() {
		return err;
	}

	public void setErr(ErrorCode err) {
		this.err = err;
	}

}
